package com.cskaoyan.service;

import com.cskaoyan.bean.bo.front.order.OrderCommentBo;
import com.cskaoyan.bean.po.BaseParam;
import com.cskaoyan.bean.po.CommonData;
import com.cskaoyan.bean.po.MarketOrder;
import com.cskaoyan.bean.po.MarketOrderGoods;
import com.cskaoyan.bean.vo.front.order.OrderVo;
import com.cskaoyan.bean.vo.ordervo.FrontOrderInfoVo;

import java.util.List;
import java.util.Map;

public interface FrontOrderService {
    CommonData list(BaseParam baseParam, Integer showType, Integer userId);

    FrontOrderInfoVo detail(Integer orderId);

    int refund(Integer orderId);

    Integer selectUserIdByUsername(String username);

    int confirm(Integer orderId);

    int delete(Integer orderId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    int comment(OrderCommentBo orderCommentBo, Integer userId);

    int cancel(Integer orderId);

    int prepay(Integer orderId);

    int submit(Map map, MarketOrder marketOrder, List<Integer> goodsIds,List<Short> numbers,List<String[]> specificationss);
}
